<!-- Menu Toggle Button -->
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
    <!-- The user image in the navbar-->
    <!-- <img src="/public/libs/user2-160x160.jpg" class="user-image" alt="User Image"> -->
    <!-- hidden-xs hides the username on small devices so only the image appears. -->
    <!-- <span class="hidden-xs">登录</span>
        <span class="hidden-xs">注册</span> -->

    <span class="hidden-xs">您好:{{username}}</span>
</a>
<ul class="dropdown-menu">
    <!-- The user image in the menu -->
    <!-- <li class="user-header">
          <img src="/public/libs/user2-160x160.jpg" class="img-circle" alt="User Image">
          <p>
            欢迎登录
            <small>admin</small>
          </p>
        </li> -->

    <li class="user-header">

        <div class="box-body">
            <div class="form-group">
                <label for="inputEmail3" class="col-sm-3 control-label">账户</label>

                <div class="col-sm-9">
                    <input type="text" class="form-control" id="username" placeholder="账户">
                </div>
            </div>
            <div class="form-group">
                <label for="inputPassword3" class="col-sm-3 control-label">密码</label>

                <div class="col-sm-9">
                    <input type="password" class="form-control" id="inputPassword3" placeholder="Password">
                </div>
            </div>
            <div class="form-group">


    </li>


    <!-- Menu Body -->
    <li class="user-body">

        <!-- /.row -->
    </li>
    <!-- Menu Footer-->
    <li class="user-footer">
        <div class="pull-left">
            <a href="#" class="btn btn-default btn-flat">取消</a>
        </div>
        <div class="pull-right">
            <a href="#" class="btn btn-default btn-flat">退出</a>
        </div>
    </li>
</ul>